home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softdisk Supreme
/
Softdisk Supreme.iso
/
pc
/
DSK Files
/
0-49
/
SD008b.dsk
/
SMILEY.FACE.bas
< prev
next >
Wrap
BASIC Source File
|
2003-06-12
|
1KB
|
42 lines
10 REM ***BY JIM LAFARGUE***
100 HOME
110 VTAB 10: PRINT "THIS IS SMILEY-FACE"
120 VTAB 14: PRINT "JOSHUA'S FIRST COMPUTER GAME"
130 VTAB 18: PRINT "PRESSING ANY KEY MAKES THE COLOR OF THE"
140 PRINT : PRINT "BACKGROUND CHANGE--EASY ENOUGH EVEN "
150 PRINT : PRINT "FOR A 'WER'"
160 FOR P = 1 TO 4200: NEXT P
170 GR
175 GOSUB 440
180 X = PEEK( -16384)
185 IF X = 27 OR X = 155 THEN TEXT : HOME : END
190 C = X - INT(X/16) *16
200 COLOR= C
210 FOR Z = 0 TO 39
220 HLIN 0,39 AT Z
230 NEXT Z
240 IF C = 0 THEN COLOR= 15: GOTO 260
250 COLOR= 0
260 FOR S = 5 TO 10
270 IF S = 5 OR S = 10 THEN G = 1
280 HLIN 10 +G,14 -G AT S
290 HLIN 25 +G,29 -G AT S
300 G = 0
310 NEXT S
320 GOSUB 350
330 POKE -16368,0
340 GOTO 180
350 FOR S = 17 TO 20
360 HLIN 18,21 AT S
370 NEXT S
380 FOR S = 30 TO 32
390 HLIN S -21,59 -S AT S
400 NEXT S
410 FOR S = 28 TO 29
420 HLIN 8,10 AT S: HLIN 28,30 AT S
430 NEXT S
435 RETURN
437 PRINT
440 PRINT "PRESS THE 'ESC' BUTTON TO STOP PROGRAM"
460 PRINT
470 RETURN